package com.shicijiaoliu.service;

import com.shicijiaoliu.pojo.Active;

import java.util.List;

public interface Activeservice {

    int  getcount(String name, String starttime, String endtime);
    void add(Active active);


    List<Active> findBypage(int pagecount, int pagenumber, String name, String starttime,String endtime);

    void update(Active section);

    void delByid(long id);

    Active findByid(long id);


    Active findByname(String name);

    List<Active> getlist();
}
